package com.iflytek.exam.service;

import java.util.List;
import com.iflytek.exam.domain.Judge;

/**
 * 判断题Service接口
 *
 * @author Dogdog
 * @date 2024-07-07
 */
public interface IJudgeService
{
    /**
     * 查询判断题
     *
     * @param id 判断题主键
     * @return 判断题
     */
    public Judge selectJudgeById(Long id);

    /**
     * 查询判断题
     *
     * @param title 判断题主键
     * @return 判断题
     */
    public Judge selectJudgeByTitle(String title);

    /**
     * 查询判断题列表
     *
     * @param judge 判断题
     * @return 判断题集合
     */
    public List<Judge> selectJudgeList(Judge judge);

    /**
     * 新增判断题
     *
     * @param judge 判断题
     * @return 结果
     */
    public int insertJudge(Judge judge);

    /**
     * 修改判断题
     *
     * @param judge 判断题
     * @return 结果
     */
    public int updateJudge(Judge judge);

    /**
     * 批量删除判断题
     *
     * @param ids 需要删除的判断题主键集合
     * @return 结果
     */
    public int deleteJudgeByIds(Long[] ids);

    /**
     * 删除判断题信息
     *
     * @param id 判断题主键
     * @return 结果
     */
    public int deleteJudgeById(Long id);

    public Long[] getAllJudgeIds(long quBankId);
}
